<style type="text/css">
<!--
.ed{
border-style:solid;
border-width:thin;
border-color:#00CCFF;
padding:5px;
margin-bottom: 4px;
}
#button1{
text-align:center;
font-family:Arial, Helvetica, sans-serif;
border-style:solid;
border-width:thin;
border-color:#00CCFF;
padding:5px;
background-color:#00CCFF;
height: 34px;
}
-->
</style>
<?php
	include('../config.php');
	$id=$_GET['id'];
	$result = mysql_query("SELECT * FROM product where pID='".$id."'");
		while($row = mysql_fetch_array($result))
			{
				$name=$row['pName'];
				$original=$row['pOriginalPrice'];
				$current=$row['pCurrentQuantity'];
				$description=$row['pDescription'];
			}
?>
<form action="execeditproduct.php" method="POST">
	<input type="hidden" name="id" value="<?php echo $id=$_GET['id'] ?>">
	Name:<br><input type="text" name="name" value="<?php echo $name ?>" class="ed"><br>
	Original Price:<br><input type="text" name="original" value="<?php echo $original ?>" class="ed"><br>
	Current Quantity:<br><input type="text" name="current" value="<?php echo $current ?>" class="ed"><br>
	Description:<br><textarea name="description" class="ed"><?php echo $description ?></textarea><br>
	<input type="submit" value="Edit" id="button1">
</form>